home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
009a
/
snpd0493.zip
/
WORDWRAP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-05
|
421b
|
22 lines
.I 5 5
#include <stdio.h>
#include <conio.h>
#include <string.h>
.D 6 1
.I 7 1
void clr_eol(const int curpos, const int pos);
.D 8 1
.I 12 2
while((get_ln(75)) != 0) /* Change 75 to whatever number you */
; /* wish to be the right margin */
.D 13 2
.I 69 1
word[wordpos] = (char)ch;
.D 70 1
.I 86 2
return -1;
}
.D 87 1